package tv.huan.media.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import tv.huan.common.annotation.Excel;
import tv.huan.common.core.domain.BaseEntity;

/**
 * 项目对象 item
 * 
 * @author admin
 * @date 2019-10-08
 */
public class Item extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目id */
    private Long itemId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String name;

    /** spid */
    @Excel(name = "spid")
    private String spid;

    /** 销售人员 */
    @Excel(name = "销售人员")
    private String salesmaninfo;

    /** 驻场人员 */
    @Excel(name = "驻场人员")
    private String onsitemaninfo;

    /** 其他驻地人员信息，逗号隔开 */
    @Excel(name = "其他驻地人员信息，逗号隔开")
    private String otheronsiteman;

    /** 用于数据权限 */
    private Long deptId;

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public void setItemId(Long itemId)
    {
        this.itemId = itemId;
    }

    public Long getItemId()
    {
        return itemId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSpid(String spid) 
    {
        this.spid = spid;
    }

    public String getSpid() 
    {
        return spid;
    }
    public void setSalesmaninfo(String salesmaninfo) 
    {
        this.salesmaninfo = salesmaninfo;
    }

    public String getSalesmaninfo() 
    {
        return salesmaninfo;
    }
    public void setOnsitemaninfo(String onsitemaninfo) 
    {
        this.onsitemaninfo = onsitemaninfo;
    }

    public String getOnsitemaninfo() 
    {
        return onsitemaninfo;
    }
    public void setOtheronsiteman(String otheronsiteman) 
    {
        this.otheronsiteman = otheronsiteman;
    }

    public String getOtheronsiteman() 
    {
        return otheronsiteman;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("itemId", getItemId())
            .append("name", getName())
            .append("spid", getSpid())
            .append("salesmaninfo", getSalesmaninfo())
            .append("onsitemaninfo", getOnsitemaninfo())
            .append("otheronsiteman", getOtheronsiteman())
            .append("createTime", getCreateTime())
            .toString();
    }
}
